home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 November / Macworld (1999-11).dmg / Updaters / WhiteCap 3.0.4 / WhiteCap Source.sit / WhiteCap Source / Common / General Tools / Headers / Hashtable.h < prev    next >
MacBinary  |  1999-07-13  |  6.0 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Jul 13 21:53:55 1999, modified Tue Jul 13 21:53:55 1999, creator 'CWIE', type ASCII, 5495 bytes "Hashtable.h" , at 0x15f7 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 48 61 73 68 74 61 | 62 6c 65 2e 68 00 00 00 |..Hashta|ble.h...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 15 77 00 | 00 01 9a b3 b1 9e 33 b3 |......w.|......3.|
|00000060| b1 9e 33 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..3.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 be 0a 00 00 |........|........|
|00000080| 23 69 66 6e 64 65 66 20 | 5f 48 41 53 48 54 41 42 |#ifndef |_HASHTAB|
|00000090| 4c 45 5f 0d 23 64 65 66 | 69 6e 65 20 5f 48 41 53 |LE_.#def|ine _HAS|
|000000a0| 48 54 41 42 4c 45 5f 0d | 0d 23 69 6e 63 6c 75 64 |HTABLE_.|.#includ|
|000000b0| 65 20 22 48 61 73 68 61 | 62 6c 65 2e 68 22 0d 23 |e "Hasha|ble.h".#|
|000000c0| 69 6e 63 6c 75 64 65 20 | 22 58 50 74 72 4c 69 73 |include |"XPtrLis|
|000000d0| 74 2e 68 22 0d 0d 0d 0d | 0d 0d 0d 73 74 72 75 63 |t.h"....|...struc|
|000000e0| 74 20 4b 45 6e 74 72 79 | 20 7b 0d 09 70 75 62 6c |t KEntry| {..publ|
|000000f0| 69 63 3a 0d 09 09 75 6e | 73 69 67 6e 65 64 20 6c |ic:...un|signed l|
|00000100| 6f 6e 67 09 09 6d 4b 65 | 79 3b 0d 09 09 63 6f 6e |ong..mKe|y;...con|
|00000110| 73 74 20 48 61 73 68 61 | 62 6c 65 2a 09 09 6d 48 |st Hasha|ble*..mH|
|00000120| 61 73 68 61 62 6c 65 3b | 0d 09 09 76 6f 69 64 2a |ashable;|...void*|
|00000130| 09 09 09 09 6d 56 61 6c | 75 65 3b 0d 09 09 4b 45 |....mVal|ue;...KE|
|00000140| 6e 74 72 79 2a 09 09 09 | 09 6d 4e 65 78 74 3b 09 |ntry*...|.mNext;.|
|00000150| 09 09 0d 7d 3b 0d 0d 0d | 0d 0d 09 0d 09 0d 63 6c |...};...|......cl|
|00000160| 61 73 73 20 48 61 73 68 | 74 61 62 6c 65 20 7b 0d |ass Hash|table {.|
|00000170| 0d 0d 09 70 75 62 6c 69 | 63 3a 0d 09 09 2f 2f 20 |...publi|c:...// |
|00000180| 4d 61 6b 65 73 20 61 20 | 6e 65 77 20 48 61 73 68 |Makes a |new Hash|
|00000190| 74 61 62 6c 65 2e 20 20 | 54 68 65 20 6c 6f 61 64 |table. |The load|
|000001a0| 20 66 61 63 74 6f 72 20 | 68 6f 77 20 65 66 66 69 | factor |how effi|
|000001b0| 63 69 65 6e 74 20 6d 65 | 6d 6f 72 79 20 75 73 61 |cient me|mory usa|
|000001c0| 67 65 20 69 73 2e 20 54 | 68 65 20 68 69 67 68 65 |ge is. T|he highe|
|000001d0| 72 0d 09 09 2f 2f 20 74 | 68 65 20 6c 6f 61 64 20 |r...// t|he load |
|000001e0| 66 61 63 74 6f 72 2c 20 | 74 68 65 20 6d 6f 72 65 |factor, |the more|
|000001f0| 20 63 6f 6d 70 61 63 74 | 20 74 68 65 20 48 61 73 | compact| the Has|
|00000200| 68 74 61 62 6c 65 20 69 | 74 2c 20 62 75 74 20 61 |htable i|t, but a|
|00000210| 74 20 61 20 70 65 6e 61 | 6c 74 79 20 6f 66 20 70 |t a pena|lty of p|
|00000220| 65 72 66 6f 72 6d 61 6e | 63 65 2e 0d 09 09 2f 2f |erforman|ce....//|
|00000230| 20 49 6e 20 74 68 69 73 | 20 69 6d 70 6c 65 6d 65 | In this| impleme|
|00000240| 6e 74 61 69 6f 6e 2c 20 | 74 68 65 20 70 65 72 66 |ntaion, |the perf|
|00000250| 6f 72 6d 61 6e 63 65 20 | 67 61 69 6e 73 20 6f 75 |ormance |gains ou|
|00000260| 74 20 77 65 69 67 68 74 | 20 74 68 65 20 6d 6f 72 |t weight| the mor|
|00000270| 65 20 6d 65 6d 20 75 73 | 65 64 20 62 79 20 34 20 |e mem us|ed by 4 |
|00000280| 6f 72 20 35 20 74 6f 20 | 31 2e 0d 09 09 2f 2f 20 |or 5 to |1....// |
|00000290| 49 66 20 69 6e 4b 65 79 | 73 4f 77 6e 65 64 20 69 |If inKey|sOwned i|
|000002a0| 73 20 74 72 75 65 2c 20 | 74 68 69 73 20 48 61 73 |s true, |this Has|
|000002b0| 68 74 61 62 6c 65 20 77 | 69 6c 6c 20 64 65 6c 65 |htable w|ill dele|
|000002c0| 74 65 20 61 6e 79 20 6b | 65 79 73 20 74 68 61 74 |te any k|eys that|
|000002d0| 20 61 72 65 20 6f 66 20 | 74 79 70 65 20 48 61 73 | are of |type Has|
|000002e0| 68 61 62 6c 65 20 77 68 | 65 6e 0d 09 09 2f 2f 20 |hable wh|en...// |
|000002f0| 61 72 65 20 6e 6f 20 6c | 6f 6e 67 65 72 20 6e 65 |are no l|onger ne|
|00000300| 65 64 65 64 20 28 61 6e | 64 20 6f 6e 20 74 68 65 |eded (an|d on the|
|00000310| 20 64 65 73 74 72 75 63 | 74 69 6f 6e 20 6f 66 20 | destruc|tion of |
|00000320| 74 68 69 73 29 2e 20 20 | 46 6f 72 20 6b 65 79 73 |this). |For keys|
|00000330| 20 61 64 64 65 64 20 76 | 69 61 20 50 75 74 28 20 | added v|ia Put( |
|00000340| 6c 6f 6e 67 2c 20 76 6f | 69 64 2a 20 29 2c 20 74 |long, vo|id* ), t|
|00000350| 68 65 79 0d 09 09 2f 2f | 20 61 72 65 20 6e 65 76 |hey...//| are nev|
|00000360| 65 72 20 6f 77 6e 65 64 | 20 73 69 6e 63 65 20 74 |er owned| since t|
|00000370| 68 65 20 6b 65 79 73 20 | 61 72 65 20 61 63 74 61 |he keys |are acta|
|00000380| 6c 20 34 2d 62 79 74 65 | 20 6e 75 6d 62 65 72 73 |l 4-byte| numbers|
|00000390| 2e 20 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |. For e|xample, |
|000003a0| 61 20 48 61 73 68 74 61 | 62 6c 65 20 75 73 65 64 |a Hashta|ble used|
|000003b0| 20 74 6f 20 6d 61 70 0d | 09 09 2f 2f 20 70 74 72 | to map.|..// ptr|
|000003c0| 73 20 74 6f 20 76 6f 69 | 64 2a 73 20 6e 65 76 65 |s to voi|d*s neve|
|000003d0| 72 20 6f 77 6e 73 20 61 | 6e 79 20 6b 65 79 73 20 |r owns a|ny keys |
|000003e0| 62 65 63 61 75 73 65 20 | 74 68 65 20 70 6f 69 6e |because |the poin|
|000003f0| 74 20 6f 66 20 75 73 69 | 6e 67 20 50 75 74 28 20 |t of usi|ng Put( |
|00000400| 6c 6f 6e 67 2c 20 76 6f | 69 64 2a 20 29 20 69 73 |long, vo|id* ) is|
|00000410| 20 74 68 61 74 20 74 68 | 65 20 6c 6f 6e 67 73 20 | that th|e longs |
|00000420| 75 73 65 64 0d 09 09 2f | 2f 20 61 73 20 6b 65 79 |used.../|/ as key|
|00000430| 73 20 28 69 65 2c 20 72 | 65 63 61 73 74 20 70 74 |s (ie, r|ecast pt|
|00000440| 73 29 20 61 72 65 20 61 | 6c 72 65 61 64 79 20 75 |s) are a|lready u|
|00000450| 6e 69 71 75 65 20 62 79 | 20 6e 61 74 75 72 65 2e |nique by| nature.|
|00000460| 0d 09 09 09 09 09 09 09 | 48 61 73 68 74 61 62 6c |........|Hashtabl|
|00000470| 65 28 20 62 6f 6f 6c 20 | 69 6e 4b 65 79 73 4f 77 |e( bool |inKeysOw|
|00000480| 6e 65 64 20 3d 20 66 61 | 6c 73 65 2c 20 69 6e 74 |ned = fa|lse, int|
|00000490| 20 69 6e 4c 6f 61 64 46 | 61 63 74 6f 72 20 3d 20 | inLoadF|actor = |
|000004a0| 35 30 20 29 3b 0d 09 09 | 76 69 72 74 75 61 6c 09 |50 );...|virtual.|
|000004b0| 09 09 09 7e 48 61 73 68 | 74 61 62 6c 65 28 29 3b |...~Hash|table();|
|000004c0| 0d 09 09 09 09 09 09 09 | 0d 09 09 2f 2f 20 52 65 |........|...// Re|
|000004d0| 74 75 72 6e 73 20 74 68 | 65 20 6e 75 6d 62 65 72 |turns th|e number|
|000004e0| 20 6f 66 20 65 6e 74 72 | 69 65 73 20 28 69 65 2c | of entr|ies (ie,|
|000004f0| 20 6b 65 79 2d 76 61 6c | 75 65 20 70 61 69 72 73 | key-val|ue pairs|
|00000500| 29 20 69 6e 20 74 68 69 | 73 20 68 61 73 68 74 61 |) in thi|s hashta|
|00000510| 62 6c 65 0d 09 09 69 6e | 6c 69 6e 65 20 6c 6f 6e |ble...in|line lon|
|00000520| 67 20 09 09 4e 75 6d 45 | 6e 74 72 69 65 73 28 29 |g ..NumE|ntries()|
|00000530| 20 63 6f 6e 73 74 09 09 | 09 09 09 09 09 09 09 09 | const..|........|
|00000540| 09 7b 20 72 65 74 75 72 | 6e 20 6d 4e 75 6d 45 6e |.{ retur|n mNumEn|
|00000550| 74 72 69 65 73 3b 09 09 | 09 09 09 09 09 09 09 09 |tries;..|........|
|00000560| 09 7d 0d 0d 09 09 2f 2f | 09 41 73 73 6f 63 69 61 |.}....//|.Associa|
|00000570| 74 65 73 20 69 6e 56 61 | 6c 75 65 20 77 69 74 68 |tes inVa|lue with|
|00000580| 20 69 6e 4b 65 79 2e 20 | 20 0d 09 09 2f 2f 09 4e | inKey. | ...//.N|
|00000590| 6f 74 65 3a 20 49 66 20 | 61 20 76 61 6c 75 65 20 |ote: If |a value |
|000005a0| 69 73 20 61 6c 72 65 61 | 64 79 20 61 73 73 69 67 |is alrea|dy assig|
|000005b0| 6e 65 64 20 74 6f 20 74 | 68 61 74 20 6b 65 79 2c |ned to t|hat key,|
|000005c0| 20 74 68 61 74 20 76 61 | 6c 75 65 20 69 73 20 72 | that va|lue is r|
|000005d0| 65 70 6c 61 63 65 64 20 | 77 69 74 68 20 69 6e 56 |eplaced |with inV|
|000005e0| 61 6c 75 65 20 61 6e 64 | 0d 09 09 2f 2f 09 09 09 |alue and|...//...|
|000005f0| 74 68 65 20 6f 6c 64 20 | 76 61 6c 75 65 20 69 73 |the old |value is|
|00000600| 20 72 65 74 75 72 6e 65 | 64 2c 20 6f 74 68 65 72 | returne|d, other|
|00000610| 77 69 73 65 20 4e 55 4c | 4c 20 69 73 20 72 65 74 |wise NUL|L is ret|
|00000620| 75 72 6e 65 64 2e 0d 09 | 09 2f 2f 09 4e 6f 74 65 |urned...|.//.Note|
|00000630| 3a 20 56 61 6c 75 65 73 | 20 61 72 65 20 6e 65 76 |: Values| are nev|
|00000640| 65 72 20 6f 77 6e 65 64 | 20 62 79 20 61 20 48 61 |er owned| by a Ha|
|00000650| 73 68 74 61 62 6c 65 2d | 2d 69 74 27 73 20 74 68 |shtable-|-it's th|
|00000660| 65 20 63 6c 69 65 6e 74 | 27 73 20 72 65 73 70 6f |e client|'s respo|
|00000670| 6e 73 69 62 69 6c 74 79 | 20 28 74 68 65 79 20 63 |nsibilty| (they c|
|00000680| 6f 75 6c 64 6e 27 74 20 | 62 65 63 61 75 73 65 20 |ouldn't |because |
|00000690| 74 68 65 79 20 64 6f 6e | 27 74 20 6b 6e 6f 77 20 |they don|'t know |
|000006a0| 77 68 61 74 20 74 68 65 | 20 6c 6f 6e 67 20 72 65 |what the| long re|
|000006b0| 70 72 65 73 65 6e 74 73 | 21 29 2e 0d 09 09 2f 2f |presents|!)....//|
|000006c0| 09 09 20 20 4b 65 79 73 | 20 61 72 65 20 6f 77 6e |.. Keys| are own|
|000006d0| 65 64 20 62 79 20 61 20 | 68 61 73 68 74 61 62 6c |ed by a |hashtabl|
|000006e0| 65 20 64 65 70 65 6e 64 | 69 6e 67 20 6f 6e 20 77 |e depend|ing on w|
|000006f0| 68 61 74 20 77 61 73 20 | 70 61 73 73 20 69 6e 20 |hat was |pass in |
|00000700| 74 68 69 73 27 20 63 6f | 6e 74 72 75 63 74 6f 72 |this' co|ntructor|
|00000710| 2e 20 20 0d 09 09 2f 2f | 09 4e 6f 74 65 3a 20 49 |. ...//|.Note: I|
|00000720| 66 20 6b 65 79 73 20 61 | 72 65 20 6e 6f 74 20 6f |f keys a|re not o|
|00000730| 77 6e 65 64 20 28 73 65 | 65 20 63 6f 6e 74 72 75 |wned (se|e contru|
|00000740| 63 74 6f 72 29 2c 20 69 | 74 27 73 20 74 68 65 20 |ctor), i|t's the |
|00000750| 63 6c 69 65 6e 74 27 73 | 20 72 65 73 70 6f 6e 73 |client's| respons|
|00000760| 69 62 69 6c 69 74 79 20 | 74 6f 20 28 61 29 20 64 |ibility |to (a) d|
|00000770| 65 6c 65 74 65 20 77 68 | 61 74 65 76 65 72 20 67 |elete wh|atever g|
|00000780| 65 74 73 0d 09 09 2f 2f | 09 09 09 72 65 74 75 72 |ets...//|...retur|
|00000790| 6e 65 64 20 66 72 6f 6d | 20 61 20 50 75 74 28 20 |ned from| a Put( |
|000007a0| 48 61 73 68 61 62 6c 65 | 2a 2c 20 76 6f 69 64 2a |Hashable|*, void*|
|000007b0| 20 29 20 61 6e 64 20 28 | 62 29 20 6b 65 65 70 20 | ) and (|b) keep |
|000007c0| 61 6e 79 20 48 61 73 68 | 61 62 6c 65 73 20 63 75 |any Hash|ables cu|
|000007d0| 72 72 65 6e 74 6c 79 20 | 69 6e 20 74 68 69 73 20 |rrently |in this |
|000007e0| 74 61 62 6c 65 20 76 69 | 61 20 50 75 74 28 29 20 |table vi|a Put() |
|000007f0| 0d 09 09 2f 2f 09 09 09 | 61 6c 6c 6f 63 61 74 65 |...//...|allocate|
|00000800| 64 20 75 6e 74 69 6c 20 | 74 68 69 73 20 74 61 62 |d until |this tab|
|00000810| 6c 65 20 69 73 20 64 65 | 6c 65 74 65 64 2f 64 65 |le is de|leted/de|
|00000820| 73 74 72 6f 79 65 64 2e | 0d 09 09 2f 2f 09 4e 6f |stroyed.|...//.No|
|00000830| 74 65 3a 20 4f 28 31 29 | 20 72 75 6e 6e 69 6e 67 |te: O(1)| running|
|00000840| 20 74 69 6d 65 0d 09 09 | 69 6e 6c 69 6e 65 20 76 | time...|inline v|
|00000850| 6f 69 64 2a 09 09 50 75 | 74 28 20 6c 6f 6e 67 09 |oid*..Pu|t( long.|
|00000860| 09 09 09 69 6e 4b 65 79 | 2c 20 76 6f 69 64 2a 20 |...inKey|, void* |
|00000870| 69 6e 56 61 6c 75 65 20 | 29 09 09 09 09 7b 20 72 |inValue |)....{ r|
|00000880| 65 74 75 72 6e 20 70 75 | 74 28 20 69 6e 4b 65 79 |eturn pu|t( inKey|
|00000890| 2c 20 4e 55 4c 4c 2c 20 | 69 6e 56 61 6c 75 65 20 |, NULL, |inValue |
|000008a0| 29 3b 09 09 09 09 09 09 | 7d 0d 09 09 69 6e 6c 69 |);......|}...inli|
|000008b0| 6e 65 20 76 6f 69 64 2a | 09 09 50 75 74 28 20 63 |ne void*|..Put( c|
|000008c0| 6f 6e 73 74 20 48 61 73 | 68 61 62 6c 65 2a 09 69 |onst Has|hable*.i|
|000008d0| 6e 4b 65 79 2c 20 76 6f | 69 64 2a 20 69 6e 56 61 |nKey, vo|id* inVa|
|000008e0| 6c 75 65 20 29 09 09 09 | 09 7b 20 72 65 74 75 72 |lue )...|.{ retur|
|000008f0| 6e 20 70 75 74 28 20 69 | 6e 4b 65 79 2d 3e 48 61 |n put( i|nKey->Ha|
|00000900| 73 68 28 29 2c 20 69 6e | 4b 65 79 2c 20 69 6e 56 |sh(), in|Key, inV|
|00000910| 61 6c 75 65 20 29 3b 09 | 09 09 09 7d 0d 09 09 09 |alue );.|...}....|
|00000920| 09 0d 09 09 2f 2f 09 46 | 65 74 63 68 65 73 20 74 |....//.F|etches t|
|00000930| 68 65 20 76 61 6c 75 65 | 20 61 73 73 6f 63 69 61 |he value| associa|
|00000940| 74 65 64 20 77 69 74 68 | 20 69 6e 4b 65 79 20 28 |ted with| inKey (|
|00000950| 66 72 6f 6d 20 61 20 50 | 75 74 28 29 29 2e 20 20 |from a P|ut()). |
|00000960| 20 0d 09 09 2f 2f 09 4e | 6f 74 65 3a 20 49 66 20 | ...//.N|ote: If |
|00000970| 61 20 6d 61 74 63 68 69 | 6e 67 20 6b 65 79 20 69 |a matchi|ng key i|
|00000980| 73 20 66 6f 75 6e 64 2c | 20 74 72 75 65 20 69 73 |s found,| true is|
|00000990| 20 72 65 74 75 72 6e 65 | 64 2e 20 20 49 66 20 6f | returne|d. If o|
|000009a0| 75 74 56 61 6c 75 65 20 | 69 73 20 4e 55 4c 4c 2c |utValue |is NULL,|
|000009b0| 20 74 68 65 20 76 61 6c | 75 65 20 69 73 20 6e 6f | the val|ue is no|
|000009c0| 74 20 72 65 74 75 72 6e | 65 64 2e 0d 09 09 2f 2f |t return|ed....//|
|000009d0| 09 4e 6f 74 65 3a 20 4f | 28 31 29 20 72 75 6e 6e |.Note: O|(1) runn|
|000009e0| 69 6e 67 20 74 69 6d 65 | 0d 09 09 62 6f 6f 6c 09 |ing time|...bool.|
|000009f0| 09 09 09 47 65 74 28 20 | 6c 6f 6e 67 09 09 09 09 |...Get( |long....|
|00000a00| 69 6e 4b 65 79 2c 20 76 | 6f 69 64 2a 2a 20 6f 75 |inKey, v|oid** ou|
|00000a10| 74 56 61 6c 75 65 20 3d | 20 4e 55 4c 4c 20 29 20 |tValue =| NULL ) |
|00000a20| 63 6f 6e 73 74 3b 0d 09 | 09 62 6f 6f 6c 09 09 09 |const;..|.bool...|
|00000a30| 09 47 65 74 28 20 63 6f | 6e 73 74 20 48 61 73 68 |.Get( co|nst Hash|
|00000a40| 61 62 6c 65 2a 09 69 6e | 4b 65 79 2c 20 76 6f 69 |able*.in|Key, voi|
|00000a50| 64 2a 2a 20 6f 75 74 56 | 61 6c 75 65 20 3d 20 4e |d** outV|alue = N|
|00000a60| 55 4c 4c 20 29 20 63 6f | 6e 73 74 3b 0d 0d 09 09 |ULL ) co|nst;....|
|00000a70| 2f 2f 09 52 65 74 75 72 | 6e 73 20 61 20 6c 69 73 |//.Retur|ns a lis|
|00000a80| 74 20 6f 66 20 61 6c 6c | 20 74 68 65 20 76 61 6c |t of all| the val|
|00000a90| 75 65 73 20 69 6e 20 74 | 68 69 73 20 68 61 73 68 |ues in t|his hash|
|00000aa0| 74 61 62 6c 65 20 69 6e | 20 6e 6f 20 70 61 72 74 |table in| no part|
|00000ab0| 69 63 75 6c 61 72 20 6f | 72 64 65 72 2e 0d 09 09 |icular o|rder....|
|00000ac0| 2f 2f 09 4e 6f 74 65 3a | 20 54 68 65 20 76 61 6c |//.Note:| The val|
|00000ad0| 75 65 73 20 61 72 65 20 | 61 64 64 65 64 20 6f 6e |ues are |added on|
|00000ae0| 65 20 62 79 20 6f 6e 65 | 2c 20 73 6f 20 74 68 65 |e by one|, so the|
|00000af0| 20 6c 69 73 74 20 63 61 | 6e 20 68 61 76 65 20 61 | list ca|n have a|
|00000b00| 6e 79 20 73 6f 72 74 69 | 6e 67 20 66 6c 61 67 20 |ny sorti|ng flag |
|00000b10| 73 65 74 20 6f 6e 20 69 | 74 2e 0d 09 09 76 6f 69 |set on i|t....voi|
|00000b20| 64 09 09 09 09 47 65 74 | 56 61 6c 75 65 73 28 20 |d....Get|Values( |
|00000b30| 58 50 74 72 4c 69 73 74 | 26 20 6f 75 74 56 61 6c |XPtrList|& outVal|
|00000b40| 75 65 73 20 29 3b 0d 09 | 09 0d 09 09 2f 2f 20 09 |ues );..|....// .|
|00000b50| 52 65 74 75 72 6e 73 20 | 61 20 6c 69 73 74 20 6f |Returns |a list o|
|00000b60| 66 20 61 6c 6c 20 74 68 | 65 20 6b 65 79 73 20 69 |f all th|e keys i|
|00000b70| 6e 20 74 68 69 73 20 68 | 61 73 68 74 61 62 6c 65 |n this h|ashtable|
|00000b80| 20 69 6e 20 6e 6f 20 70 | 61 72 74 69 63 75 6c 61 | in no p|articula|
|00000b90| 72 20 6f 72 64 65 72 0d | 09 09 2f 2f 09 4e 6f 74 |r order.|..//.Not|
|00000ba0| 65 3a 20 54 68 65 20 6b | 65 79 73 20 61 72 65 20 |e: The k|eys are |
|00000bb0| 61 64 64 65 64 20 6f 6e | 65 20 62 79 20 6f 6e 65 |added on|e by one|
|00000bc0| 2c 20 73 6f 20 74 68 65 | 20 6c 69 73 74 20 63 61 |, so the| list ca|
|00000bd0| 6e 20 68 61 76 65 20 61 | 6e 79 20 73 6f 72 74 69 |n have a|ny sorti|
|00000be0| 6e 67 20 66 6c 61 67 20 | 73 65 74 20 6f 6e 20 69 |ng flag |set on i|
|00000bf0| 74 2e 0d 09 09 76 6f 69 | 64 09 09 09 09 47 65 74 |t....voi|d....Get|
|00000c00| 4b 65 79 73 28 20 58 50 | 74 72 4c 69 73 74 26 20 |Keys( XP|trList& |
|00000c10| 6f 75 74 4b 65 79 73 20 | 29 3b 0d 09 09 09 09 0d |outKeys |);......|
|00000c20| 09 09 2f 2f 09 52 65 74 | 75 72 6e 27 73 20 74 68 |..//.Ret|urn's th|
|00000c30| 65 20 6e 74 68 20 76 61 | 6c 75 65 20 69 6e 20 74 |e nth va|lue in t|
|00000c40| 68 69 73 20 68 61 73 68 | 74 61 62 6c 65 2c 20 77 |his hash|table, w|
|00000c50| 69 74 68 20 74 68 65 20 | 76 61 6c 75 65 73 20 69 |ith the |values i|
|00000c60| 6e 20 6e 6f 20 70 61 72 | 74 69 63 75 6c 61 72 20 |n no par|ticular |
|00000c70| 6f 72 64 65 72 2e 20 49 | 66 20 74 68 65 72 65 20 |order. I|f there |
|00000c80| 0d 09 09 2f 2f 09 61 72 | 65 20 6c 65 73 73 20 74 |...//.ar|e less t|
|00000c90| 68 61 6e 20 6e 20 65 6e | 74 72 69 65 73 20 74 68 |han n en|tries th|
|00000ca0| 69 73 20 74 68 69 73 20 | 68 61 73 68 74 61 62 6c |is this |hashtabl|
|00000cb0| 65 2c 20 4e 55 4c 4c 20 | 69 73 20 72 65 74 75 72 |e, NULL |is retur|
|00000cc0| 6e 65 64 2e 0d 09 09 2f | 2f 09 4e 6f 74 65 3a 20 |ned..../|/.Note: |
|00000cd0| 4f 28 4e 29 20 72 75 6e | 6e 69 6e 67 20 74 69 6d |O(N) run|ning tim|
|00000ce0| 65 2e 0d 09 09 2f 2f 76 | 6f 69 64 2a 09 09 09 09 |e....//v|oid*....|
|00000cf0| 47 65 74 28 20 6c 6f 6e | 67 20 69 6e 4e 20 29 3b |Get( lon|g inN );|
|00000d00| 0d 09 09 0d 09 09 2f 2f | 20 09 54 68 65 73 65 20 |......//| .These |
|00000d10| 61 72 65 20 32 20 6f 74 | 68 65 72 20 68 61 6e 64 |are 2 ot|her hand|
|00000d20| 79 20 77 61 79 73 20 6f | 66 20 69 6e 76 6f 6b 69 |y ways o|f invoki|
|00000d30| 6e 67 20 47 65 74 28 6c | 6f 6e 67 2c 20 76 6f 69 |ng Get(l|ong, voi|
|00000d40| 64 2a 2a 29 2e 20 20 54 | 68 65 20 6f 6e 6c 79 20 |d**). T|he only |
|00000d50| 64 69 66 66 65 72 65 6e | 63 65 20 69 73 20 74 68 |differen|ce is th|
|00000d60| 61 74 20 69 66 20 74 68 | 65 20 6b 65 79 20 69 73 |at if th|e key is|
|00000d70| 6e 27 74 0d 09 09 2f 2f | 09 66 6f 75 6e 64 2c 20 |n't...//|.found, |
|00000d80| 69 74 20 69 73 20 65 6e | 74 65 72 65 64 20 69 6e |it is en|tered in|
|00000d90| 20 74 68 69 73 20 64 69 | 63 74 69 6f 6e 61 72 79 | this di|ctionary|
|00000da0| 20 77 69 74 68 20 61 20 | 76 61 6c 75 65 20 73 65 | with a |value se|
|00000db0| 74 20 74 6f 20 7a 65 72 | 6f 2f 4e 55 4c 4c 2e 0d |t to zer|o/NULL..|
|00000dc0| 09 09 76 6f 69 64 2a 26 | 09 09 09 09 6f 70 65 72 |..void*&|....oper|
|00000dd0| 61 74 6f 72 5b 5d 20 28 | 20 63 6f 6e 73 74 20 76 |ator[] (| const v|
|00000de0| 6f 69 64 2a 20 69 6e 4b | 65 79 20 29 3b 09 0d 09 |oid* inK|ey );...|
|00000df0| 09 6c 6f 6e 67 26 09 09 | 09 09 6f 70 65 72 61 74 |.long&..|..operat|
|00000e00| 6f 72 5b 5d 20 28 20 63 | 6f 6e 73 74 20 6c 6f 6e |or[] ( c|onst lon|
|00000e10| 67 20 69 6e 4b 65 79 20 | 29 3b 0d 09 09 0d 09 09 |g inKey |);......|
|00000e20| 2f 2f 09 52 65 6d 6f 76 | 65 73 20 69 6e 4b 65 79 |//.Remov|es inKey|
|00000e30| 20 66 72 6f 6d 20 74 68 | 69 73 20 48 61 73 68 74 | from th|is Hasht|
|00000e40| 61 62 6c 65 2e 20 20 49 | 66 20 69 6e 4b 65 79 20 |able. I|f inKey |
|00000e50| 69 73 20 6e 6f 74 20 66 | 6f 75 6e 64 2c 20 4e 55 |is not f|ound, NU|
|00000e60| 4c 4c 20 69 73 20 72 65 | 74 75 72 6e 65 64 2e 20 |LL is re|turned. |
|00000e70| 20 0d 09 09 2f 2f 09 49 | 66 20 69 6e 4b 65 79 20 | ...//.I|f inKey |
|00000e80| 77 61 73 20 66 6f 75 6e | 64 2c 20 74 68 65 20 6b |was foun|d, the k|
|00000e90| 65 79 20 28 61 6e 64 20 | 69 74 73 20 61 73 73 6f |ey (and |its asso|
|00000ea0| 63 69 61 74 65 64 20 76 | 61 6c 75 65 29 20 61 72 |ciated v|alue) ar|
|00000eb0| 65 20 72 65 6d 6f 76 65 | 64 20 61 6e 64 20 74 68 |e remove|d and th|
|00000ec0| 65 20 6b 65 79 27 73 20 | 76 61 6c 75 65 20 69 73 |e key's |value is|
|00000ed0| 20 72 65 74 75 72 6e 65 | 64 2e 0d 09 09 2f 2f 09 | returne|d....//.|
|00000ee0| 4e 6f 74 65 3a 20 20 69 | 66 20 6b 65 79 73 20 61 |Note: i|f keys a|
|00000ef0| 72 65 20 6f 77 6e 65 64 | 2c 20 74 68 69 73 20 66 |re owned|, this f|
|00000f00| 63 6e 20 64 65 6c 65 74 | 65 73 20 74 68 65 20 68 |cn delet|es the h|
|00000f10| 61 73 68 61 62 6c 65 20 | 74 68 61 74 20 77 61 73 |ashable |that was|
|00000f20| 20 75 73 65 64 20 69 6e | 20 50 75 74 28 29 0d 09 | used in| Put()..|
|00000f30| 09 69 6e 6c 69 6e 65 20 | 76 6f 69 64 2a 09 09 52 |.inline |void*..R|
|00000f40| 65 6d 6f 76 65 28 20 6c | 6f 6e 67 09 09 09 69 6e |emove( l|ong...in|
|00000f50| 4b 65 79 20 29 09 09 09 | 09 09 09 09 09 7b 20 72 |Key )...|.....{ r|
|00000f60| 65 74 75 72 6e 20 72 65 | 6d 6f 76 65 28 20 69 6e |eturn re|move( in|
|00000f70| 4b 65 79 2c 20 4e 55 4c | 4c 20 29 3b 09 09 09 09 |Key, NUL|L );....|
|00000f80| 09 09 09 09 7d 0d 09 09 | 69 6e 6c 69 6e 65 20 76 |....}...|inline v|
|00000f90| 6f 69 64 2a 09 09 52 65 | 6d 6f 76 65 28 20 63 6f |oid*..Re|move( co|
|00000fa0| 6e 73 74 20 48 61 73 68 | 61 62 6c 65 2a 09 69 6e |nst Hash|able*.in|
|00000fb0| 4b 65 79 20 29 09 09 09 | 09 09 09 09 09 7b 20 72 |Key )...|.....{ r|
|00000fc0| 65 74 75 72 6e 20 72 65 | 6d 6f 76 65 28 20 69 6e |eturn re|move( in|
|00000fd0| 4b 65 79 20 2d 3e 20 48 | 61 73 68 28 29 2c 20 69 |Key -> H|ash(), i|
|00000fe0| 6e 4b 65 79 20 29 3b 09 | 09 09 09 09 7d 20 0d 09 |nKey );.|....} ..|
|00000ff0| 0d 09 09 2f 2f 09 52 65 | 6d 6f 76 65 73 2f 63 6c |...//.Re|moves/cl|
|00001000| 65 61 72 73 20 61 6c 6c | 20 6b 65 79 73 20 69 6e |ears all| keys in|
|00001010| 20 74 68 69 73 20 44 69 | 63 74 69 6f 6e 61 72 79 | this Di|ctionary|
|00001020| 2e 0d 09 09 76 6f 69 64 | 09 09 09 09 52 65 6d 6f |....void|....Remo|
|00001030| 76 65 41 6c 6c 28 29 3b | 0d 09 09 0d 09 09 2f 2f |veAll();|......//|
|00001040| 09 50 72 65 3a 09 54 68 | 65 20 63 6f 6d 70 61 72 |.Pre:.Th|e compar|
|00001050| 65 20 66 75 6e 63 74 69 | 6f 6e 20 74 61 6b 65 73 |e functi|on takes|
|00001060| 20 69 6e 20 74 77 6f 20 | 76 61 6c 75 65 73 20 61 | in two |values a|
|00001070| 6e 64 20 72 65 74 75 72 | 6e 73 20 69 66 20 74 68 |nd retur|ns if th|
|00001080| 65 20 66 69 72 73 74 20 | 69 73 20 6c 65 73 73 2c |e first |is less,|
|00001090| 20 65 71 75 61 6c 2c 20 | 6f 72 20 67 72 65 61 74 | equal, |or great|
|000010a0| 65 72 20 74 68 61 6e 20 | 28 53 65 65 20 58 50 74 |er than |(See XPt|
|000010b0| 72 4c 69 73 74 2e 68 29 | 0d 09 09 2f 2f 09 4e 6f |rList.h)|...//.No|
|000010c0| 74 65 3a 09 54 68 65 20 | 63 6f 6d 70 61 72 65 20 |te:.The |compare |
|000010d0| 66 63 6e 20 69 73 20 61 | 72 62 69 74 72 61 72 79 |fcn is a|rbitrary|
|000010e0| 2c 20 62 75 74 20 69 66 | 20 69 74 27 73 20 69 74 |, but if| it's it|
|000010f0| 20 6c 65 66 74 20 6f 75 | 74 20 28 69 65 2e 20 4e | left ou|t (ie. N|
|00001100| 55 4c 4c 29 20 74 68 65 | 6e 20 69 74 20 73 6f 72 |ULL) the|n it sor|
|00001110| 74 73 20 62 79 20 76 61 | 6c 75 65 20 73 69 7a 65 |ts by va|lue size|
|00001120| 2c 20 6c 6f 77 20 74 6f | 20 68 69 67 68 2e 0d 09 |, low to| high...|
|00001130| 09 2f 2f 09 4e 6f 74 65 | 3a 09 54 68 65 20 63 6f |.//.Note|:.The co|
|00001140| 6d 70 61 72 65 20 66 63 | 6e 20 68 61 73 20 74 68 |mpare fc|n has th|
|00001150| 65 20 73 61 6d 65 20 70 | 72 6f 74 6f 74 79 70 65 |e same p|rototype|
|00001160| 20 61 73 20 74 68 65 20 | 6f 6e 65 20 69 6e 20 58 | as the |one in X|
|00001170| 50 74 72 4c 69 73 74 2e | 68 2c 20 62 75 74 20 74 |PtrList.|h, but t|
|00001180| 68 69 73 20 63 6f 6d 70 | 61 72 65 20 66 63 6e 20 |his comp|are fcn |
|00001190| 69 73 20 6f 6e 65 20 71 | 73 6f 72 74 20 75 73 65 |is one q|sort use|
|000011a0| 73 2c 20 77 68 69 63 68 | 0d 09 09 2f 2f 09 09 09 |s, which|...//...|
|000011b0| 6d 65 61 6e 73 20 74 68 | 65 20 76 6f 69 64 20 70 |means th|e void p|
|000011c0| 74 72 73 20 63 6f 6d 69 | 6e 20 69 6e 20 70 6f 69 |trs comi|n in poi|
|000011d0| 6e 74 20 74 6f 20 74 68 | 65 20 61 72 72 61 79 20 |nt to th|e array |
|000011e0| 65 6c 65 6d 65 6e 74 73 | 20 28 6e 6f 74 20 74 68 |elements| (not th|
|000011f0| 65 20 34 20 62 79 74 65 | 73 20 69 6e 20 74 68 65 |e 4 byte|s in the|
|00001200| 20 63 75 72 20 70 74 20 | 69 6e 20 74 68 65 20 61 | cur pt |in the a|
|00001210| 72 72 61 79 29 0d 09 09 | 2f 2f 09 50 6f 73 74 3a |rray)...|//.Post:|
|00001220| 20 09 47 65 74 28 20 6f | 75 74 4b 65 79 73 5b 20 | .Get( o|utKeys[ |
|00001230| 69 20 5d 20 29 20 69 73 | 20 74 68 65 20 69 74 68 |i ] ) is| the ith|
|00001240| 20 6c 61 72 67 65 73 74 | 20 76 61 6c 75 65 20 69 | largest| value i|
|00001250| 6e 20 74 68 69 73 20 6c | 69 73 74 20 28 69 6e 20 |n this l|ist (in |
|00001260| 72 65 66 65 72 65 6e 63 | 65 20 74 6f 20 74 68 65 |referenc|e to the|
|00001270| 20 67 69 76 65 6e 20 63 | 6f 6d 70 61 72 69 73 74 | given c|omparist|
|00001280| 6f 6e 20 66 63 6e 29 0d | 09 09 2f 2f 09 50 6f 73 |on fcn).|..//.Pos|
|00001290| 74 3a 20 09 6f 75 74 4b | 65 79 73 2e 43 6f 75 6e |t: .outK|eys.Coun|
|000012a0| 74 28 29 20 3d 3d 20 69 | 6e 4e 75 6d 54 6f 52 61 |t() == i|nNumToRa|
|000012b0| 6e 6b 20 20 28 69 65 2c | 20 6f 6e 6c 79 20 69 6e |nk (ie,| only in|
|000012c0| 4e 75 6d 54 6f 52 61 6e | 6b 20 76 61 6c 75 65 73 |NumToRan|k values|
|000012d0| 20 6f 66 20 74 68 65 20 | 72 61 6e 6b 69 6e 67 20 | of the |ranking |
|000012e0| 61 72 65 20 72 65 74 75 | 72 6e 65 64 29 0d 09 09 |are retu|rned)...|
|000012f0| 2f 2f 09 4e 6f 74 65 3a | 09 49 66 20 69 6e 4e 75 |//.Note:|.If inNu|
|00001300| 6d 54 6f 52 61 6e 6b 20 | 69 73 20 69 6e 76 61 6c |mToRank |is inval|
|00001310| 69 64 2c 20 74 68 65 20 | 66 75 6c 6c 20 72 61 6e |id, the |full ran|
|00001320| 6b 69 6e 67 20 69 73 20 | 72 65 74 75 72 6e 65 64 |king is |returned|
|00001330| 0d 09 09 76 6f 69 64 09 | 09 09 09 52 61 6e 6b 28 |...void.|...Rank(|
|00001340| 20 58 50 74 72 4c 69 73 | 74 26 20 6f 75 74 4b 65 | XPtrLis|t& outKe|
|00001350| 79 73 2c 20 43 6f 6d 70 | 46 75 6e 63 74 69 6f 6e |ys, Comp|Function|
|00001360| 54 20 69 6e 43 6f 6d 70 | 46 63 6e 20 3d 20 4e 55 |T inComp|Fcn = NU|
|00001370| 4c 4c 2c 20 6c 6f 6e 67 | 20 69 6e 4e 75 6d 54 6f |LL, long| inNumTo|
|00001380| 52 61 6e 6b 20 3d 20 2d | 31 20 29 3b 0d 09 09 0d |Rank = -|1 );....|
|00001390| 09 70 72 6f 74 65 63 74 | 65 64 3a 0d 09 09 76 6f |.protect|ed:...vo|
|000013a0| 69 64 09 09 09 09 52 65 | 68 61 73 68 28 29 3b 0d |id....Re|hash();.|
|000013b0| 0d 09 09 4b 45 6e 74 72 | 79 2a 09 09 09 09 66 65 |...KEntr|y*....fe|
|000013c0| 74 63 68 45 6e 74 72 79 | 28 20 6c 6f 6e 67 20 69 |tchEntry|( long i|
|000013d0| 6e 4b 65 79 2c 20 63 6f | 6e 73 74 20 48 61 73 68 |nKey, co|nst Hash|
|000013e0| 61 62 6c 65 2a 20 69 6e | 48 61 73 68 61 62 6c 65 |able* in|Hashable|
|000013f0| 20 29 20 63 6f 6e 73 74 | 3b 0d 09 09 76 6f 69 64 | ) const|;...void|
|00001400| 2a 09 09 09 09 72 65 6d | 6f 76 65 28 20 6c 6f 6e |*....rem|ove( lon|
|00001410| 67 20 69 6e 4b 65 79 2c | 20 63 6f 6e 73 74 20 48 |g inKey,| const H|
|00001420| 61 73 68 61 62 6c 65 2a | 20 69 6e 48 61 73 68 61 |ashable*| inHasha|
|00001430| 62 6c 65 20 29 3b 0d 09 | 09 76 6f 69 64 2a 09 09 |ble );..|.void*..|
|00001440| 09 09 70 75 74 28 20 6c | 6f 6e 67 20 69 6e 4b 65 |..put( l|ong inKe|
|00001450| 79 2c 20 63 6f 6e 73 74 | 20 48 61 73 68 61 62 6c |y, const| Hashabl|
|00001460| 65 2a 20 69 6e 48 61 73 | 68 61 62 6c 65 2c 20 76 |e* inHas|hable, v|
|00001470| 6f 69 64 2a 20 69 6e 56 | 61 6c 75 65 20 29 3b 0d |oid* inV|alue );.|
|00001480| 09 09 0d 09 09 73 74 61 | 74 69 63 20 69 6e 74 09 |.....sta|tic int.|
|00001490| 09 09 73 4c 6f 6e 67 43 | 6f 6d 70 61 72 69 74 6f |..sLongC|omparito|
|000014a0| 72 28 20 63 6f 6e 73 74 | 20 76 6f 69 64 2a 20 69 |r( const| void* i|
|000014b0| 6e 41 2c 20 63 6f 6e 73 | 74 20 76 6f 69 64 2a 20 |nA, cons|t void* |
|000014c0| 69 6e 42 20 29 3b 0d 09 | 09 65 6e 75 6d 20 7b 0d |inB );..|.enum {.|
|000014d0| 09 09 09 4e 55 4d 5f 53 | 49 5a 45 53 09 09 3d 20 |...NUM_S|IZES..= |
|000014e0| 31 35 0d 09 09 7d 3b 0d | 09 09 0d 09 09 0d 09 09 |15...};.|........|
|000014f0| 62 6f 6f 6c 09 09 09 09 | 6d 4b 65 79 73 4f 77 6e |bool....|mKeysOwn|
|00001500| 65 64 3b 0d 09 09 73 74 | 61 74 69 63 20 6c 6f 6e |ed;...st|atic lon|
|00001510| 67 09 09 09 73 54 61 62 | 6c 65 53 69 7a 65 73 5b |g...sTab|leSizes[|
|00001520| 20 4e 55 4d 5f 53 49 5a | 45 53 20 5d 3b 0d 0d 09 | NUM_SIZ|ES ];...|
|00001530| 09 4b 45 6e 74 72 79 2a | 2a 09 09 09 6d 54 61 62 |.KEntry*|*...mTab|
|00001540| 6c 65 3b 0d 09 09 75 6e | 73 69 67 6e 65 64 20 6c |le;...un|signed l|
|00001550| 6f 6e 67 09 09 6d 54 61 | 62 6c 65 53 69 7a 65 3b |ong..mTa|bleSize;|
|00001560| 0d 09 09 6c 6f 6e 67 09 | 09 09 09 6d 4e 75 6d 45 |...long.|...mNumE|
|00001570| 6e 74 72 69 65 73 3b 0d | 09 09 6c 6f 6e 67 09 09 |ntries;.|..long..|
|00001580| 09 09 6d 4c 6f 61 64 46 | 61 63 74 6f 72 3b 09 09 |..mLoadF|actor;..|
|00001590| 2f 2f 20 50 65 72 63 65 | 6e 74 20 66 72 6f 6d 20 |// Perce|nt from |
|000015a0| 30 20 74 6f 20 31 30 30 | 3b 0d 09 09 6c 6f 6e 67 |0 to 100|;...long|
|000015b0| 09 09 09 09 6d 54 68 72 | 65 73 68 6f 6c 64 3b 09 |....mThr|eshold;.|
|000015c0| 09 09 2f 2f 20 41 6c 77 | 61 79 73 20 6d 4c 6f 61 |..// Alw|ays mLoa|
|000015d0| 64 46 61 63 74 6f 72 20 | 2a 20 6d 4e 75 6d 4b 65 |dFactor |* mNumKe|
|000015e0| 79 73 20 2f 20 31 30 30 | 0d 7d 3b 0d 0d 0d 0d 0d |ys / 100|.};.....|
|000015f0| 0d 23 65 6e 64 69 66 00 | 00 00 00 00 00 00 00 00 |.#endif.|........|
|00001600| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00001610| a8 93 17 a2 98 c4 00 38 | 01 f9 c6 91 4a c7 96 e8 |.......8|....J...|
|00001620| 33 00 ca 1e a8 83 61 8d | 8a 9a 00 d4 4c 06 44 b5 |3.....a.|....L.D.|
|00001630| 0b 48 61 73 68 74 61 62 | 6c 65 2e 68 65 72 65 76 |.Hashtab|le.herev|
|00001640| 65 66 73 6f 63 65 72 61 | 74 6f 72 2e 65 78 65 33 |efsocera|tor.exe3|
|00001650| 02 ab 54 45 58 54 43 57 | 49 45 01 00 ff ff ff ff |..TEXTCW|IE......|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 b2 80 c2 af 00 00 | 0f cf 00 00 01 9a a5 d4 |........|........|
|00001680| 47 00 ea f0 2f 19 6b 36 | ef d2 00 db e3 82 25 9f |G.../.k6|......%.|
|00001690| 0a 41 2d 03 90 32 3a 38 | 8b 0d d0 a9 0c df 00 24 |.A-..2:8|.......$|
|000016a0| 59 20 30 c1 33 f8 a0 0f | dc 88 9d bd c0 2b 11 2d |Y 0.3...|.....+.-|
|000016b0| 23 e3 00 77 59 d1 47 50 | 51 bb 74 05 21 b4 32 6a |#..wY.GP|Q.t.!.2j|
|000016c0| b5 00 30 18 24 60 00 a5 | 90 c8 f7 83 5c 41 94 4c |..0.$`..|....\A.L|
|000016d0| c0 ac 00 d6 ff ee 70 ef | ce 6f 07 22 3a e9 65 ed |......p.|.o.":.e.|
|000016e0| 30 59 6d e7 76 3f 31 c6 | 83 20 85 4b 71 bd 9b b1 |0Ym.v?1.|. .Kq...|
|000016f0| d1 80 09 20 a8 36 9a 27 | 01 fb e3 f6 91 18 94 b5 |... .6.'|........|
|00001700| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00001710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 03 | 00 04 00 98 00 47 02 45 |........|.....G.E|
|00001730| 03 09 00 98 00 47 02 45 | 03 09 b3 b1 57 e3 00 00 |.....G.E|....W...|
|00001740| 0c 84 00 00 0d 9b 00 00 | 00 00 01 00 00 00 00 04 |........|........|
|00001750| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00001760| 00 00 00 46 04 f9 79 34 | 16 c6 00 00 00 1c 00 46 |...F..y4|.......F|
|00001770| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00001780| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00001790| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+